package com.example.boot.rtbanner.dao;

import java.util.List;

import com.example.boot.rtbanner.model.RtBanner;

public interface RtBannerDao {
    int deleteByPrimaryKey(String id);

    int insert(RtBanner record);

    int insertSelective(RtBanner record);

    RtBanner selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(RtBanner record);

    int updateByPrimaryKey(RtBanner record);
    
    //查找banner
    List<RtBanner> findByBanner();
    
}